﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

using ParamSetCollection.General.ParamTable;
using ParamSetCollection.General.ParamTable.JTRII;
using ParamSetCollection.General.ParamTable.JTRII.DataTable;
using MainController.Hardware.PLC;
using MainController;

namespace NeoReflow
{
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class JTRMainWindow : Window
    {
        public JTRMainWindow()
        {
            InitializeComponent();
        }

        private void Init()
        {
            //ParamHelper paramHelper = ParamHelper.GetInstant("JTR", "MEGMEET");
            JTRIIParamHelper jtrParam=ParamHelper.GetJTRParamHelper("MEGMEET");
            PlcBasic plc = PlcBasic.GetMegmitPlc();
            plc?.InitParams(jtrParam);

        }
    }
}
